#include <stdio.h>

int p(int a)
{
    for (int i=2;i*i<=a;i++)
    {
        if(a%i==0)
        {
            return 1;
        }
    }
    return 2;
}
int main()
{
    int n,a;
    scanf("%d",&n);
    for (int i=4;i<=n;i+=2)
    {
        for (int j=2;j<=i/2;j++)
        {
            if(p(j)==2)
            {
                a=i-j;
                if (p(a)==2)
                {
                    printf("%d=%d+%d\n",i,j,a);
                    break;
                }
            }
        }
    }
    return 0;
}
